from django.urls import path
from api.views.md5 import _MD5
from api.views.sm2 import _getSm2KeyPair
from api.views.sm2 import _sm2Encrypt
from api.views.sm2 import _sm2Decrypt
from api.views.sm2 import _sm2Sign
from api.views.sm2 import _sm2Verify

urlpatterns = [
    path('md5/', _MD5.as_view(), name='md5'),
    path('sm2/getKeyPair', _getSm2KeyPair.as_view(), name='sm2KeyPair'),
    path('sm2/encrypt', _sm2Encrypt.as_view(), name='sm2Encrypt'),
    path('sm2/decrypt', _sm2Decrypt.as_view(), name='sm2Decrypt'),
    path('sm2/sign', _sm2Sign.as_view(), name='sm2Sign'),
    path('sm2/verify', _sm2Verify.as_view(), name='sm2Verify'),
]